package com.ssy.lingxi.after.sale.model.vo.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 手工发货VO
 * @author 伍将
 * @date 2020/12/4
 * @version 2.0.0
 */
@Getter
@Setter
public class ManualDeliveryGoodsProductVO implements Serializable {

    private static final long serialVersionUID = 2891534742084154368L;

    /**
     * 换货详情id
     */
    @NotNull(message = "换货详情id不能为空")
    @Positive(message = "退货数量要大于0")
    private Long replaceDetailId;
    /**
     * 商品id
     */
    private String productId;
    /**
     * 退货数量
     */
    @NotNull(message = "退货数量要大于0")
    @Positive(message = "退货数量要大于0")
    private Double returnCount;
}
